package galaxy.app.network.session;

import java.util.concurrent.ConcurrentHashMap;

import galaxy.kernel.component.AbstractECSComponent;

public class GateSessionServiceComponent extends AbstractECSComponent {
    /**
     * session集合.
     * key:sessionId, value:GateSession
     */
    public ConcurrentHashMap<String, GateSession> sessionMaps = new ConcurrentHashMap<>();

    /**
     * 在线(已登录)角色Session.
     * key:uid value:sessionId
     */
    public ConcurrentHashMap<Long, OnlineSession> onlineMaps = new ConcurrentHashMap<>();
}
